#ifndef TASKTOOL_H
#define TASKTOOL_H

#include <QObject>
#include "Tool/mythread.h"
class TaskTool :public QObject
{
    Q_OBJECT
public slots:
    void taskStop();
public:
    ~TaskTool();
    TaskTool(myFunc func,void*data,QObject *parent = nullptr);
private:
    MyTaskClass *task;
};

#endif // TASKTOOL_H
